
/*
 *  Yousuf Khan
 *  This example demonstrates how to
 *  break out of a For Loop 
*/

/* *******************************************************************************/
class loopBreak 
{
public static __ main(String[] args) 
{
  for (__ i = 0; i < 10; i++) 
   {
      __.out.print("\n");
      for (__ j = 0; j<=i; j++)
      {
        __.out.print("*");
        if (j==5)
          {  break;
          }
        }
     }
  }
}

/***********************************************************************************/
